﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Test_Scripts_TestResults : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    public void Append(InfoType tp, string information)
    {
        string color = "Green";
        if (tp == InfoType.Error)
        {
            color = "Red";
        }
        lblMessage.Text += "<font color='" + color + "'>" + information + "</font><br/>";
    }
    public enum InfoType
    {
        Error = 0,
        Success = 1
    }
}
